var name=prompt("请输入你的名字");
console.log(name)
alert(name)
document.write(name)

function sum(a,b) {
    return a+b;
}
alert(sum(11,22))
document.write(sum(11,22))

var stu={
    name:"APPLE",
    money:1.17,
    pri:function (name,money) {
        return name+"市值"+money
    }
};
alert(stu.pri(stu.name,stu.money));

